package com.migration.model.olddb;

import jakarta.persistence.*;
import lombok.Data;
import java.io.Serializable;

/**
 * 检查三方关联表 实体类
 * 表名：ra_check_association
 * 自动生成的实体类
 */
@Data
@Entity
@Table(name = "ra_check_association")
public class RaCheckAssociation implements Serializable {

    private static final long serialVersionUID = 1L;
    
    /**
     * 主键
     * 主键
     */
    @Id
    @Column(name = "id", nullable = false)
    private Long id;
    
    /**
     * 任务
     */
    @Column(name = "task_id", nullable = false)
    private Long taskId;
    
    /**
     * 检查表id
     */
    @Column(name = "checklist_id", nullable = false)
    private Long checklistId;
    
    /**
     * 防护措施id
     */
    @Column(name = "defend_id", nullable = false)
    private Long defendId;
    
    /**
     * 是否删除（0、否 1、是）
     * 默认值: 0
     */
    @Column(name = "is_del", nullable = false)
    private Byte isDel;
    
    @Override
    public String toString() {
        return "RaCheckAssociation{" +
            "id=" + id +
            ", taskId=" + taskId +
            ", checklistId=" + checklistId +
            ", defendId=" + defendId +
            ", isDel=" + isDel +
        '}';
    }
} 